package com.pda.xinma.adapter;

import androidx.annotation.Nullable;

import com.chad.library.adapter.base.viewholder.BaseViewHolder;

import com.pda.xinma.R;
import com.pda.xinma.bean.SelectBean;
import com.wangshen.base.ui.mvp.base.adapter.BaseAdapter;

import java.util.List;

public class SelectAdapter extends BaseAdapter<SelectBean> {
    public SelectAdapter(int layoutResId, @Nullable List<SelectBean> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, SelectBean item) {
        super.convert(helper, item);
        helper.setText(R.id.tv_title,item.getName());
    }
}
